package com.ionehe.group.common.wechat.model;

import com.google.gson.annotations.SerializedName;
import lombok.Data;

import java.io.Serializable;

/**
 * 微信访问令牌
 * @author 2022/1/7 <a href="mailto:a@ionehe.com">xiu</a>
 */
@Data
public class AccessToken implements Serializable {
    @SerializedName("access_token")
    private String accessToken;
    @SerializedName("expire_in")
    private Integer expiresIn;
    @SerializedName("refresh_token")
    private String refreshToken;
    @SerializedName("openid")
    private String openid;
    @SerializedName("scope")
    private String scope;
    @SerializedName("uniond")
    private String unionId;
}
